<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
	
	<h:head>
		<title>Sigadoc - Login</title>
		<link rel="shortcut icon" href="../resources/images/Seta.ico" type="image/x-icon"></link>
		<h:outputStylesheet library="css" name="login.css" />
		<h:outputScript library="javascript" name="jquery-1.6.4.min.js" />
		<h:outputScript library="javascript" name="watermark.js" />
	</h:head>
	<h:body>
		<div id="container">
			<h:graphicImage library="images" name="logo_sigadoc.png" />
			<h:form>
				<h:messages id="messages" errorClass="mError" showSummary="true" showDetail="false" globalOnly="true" />
				<h:message for="login" showSummary="true" showDetail="false" style="color:red"/>
				<h:message for="senha" showSummary="true" showDetail="false" style="color:red"/>
				<br />
				<h:outputLabel value="E-mail:" for="login"/><br />
				<h:inputText id="login" value="#{loginMBean.login}" required="true" requiredMessage="* O campo [E-mail] é obrigatório!"/>
				<br />
				<h:outputLabel value="Senha:" for="senha"/><br />
				<h:inputSecret id="senha" value="#{loginMBean.senha}" required="true" requiredMessage="* O campo [Senha] é obrigatório!"/>
				<br />
				<h:commandButton class="button" value="Entrar" action="#{loginMBean.actionLogar}"/>
			</h:form>
		</div>
	</h:body>
</html>